package events
{
	import flash.events.Event;
	
	public class SwitchPageEvent extends Event
	{
		// event type
		public static const CHANGE_PAGE:String = "ChangePage";
		
		private var _page:int;
		public function get page():int
		{	
			return _page;
		}
		
		public function SwitchPageEvent(type:String, p:int , bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_page = p;
		}
	}
}